<%@ page language="java" import="java.util.*" pageEncoding="GB18030"
	import="DomainData.MainCourse,Application.Dao.MainCourseDAO"%>
			
			<div id="meundisplay">
					<ul id="shoplist" class="cuisine">
					<%
						ArrayList<MainCourse> mlist = MainCourseDAO.getMainCourseList();
						for(MainCourse m: mlist){
							int id = m.getID();
							String name = m.getCourseName();
							out.println("<li data-name="+id+"><a href='#'><img src="+"images/"+id+".jpg alt="+name+" /></a></li>");
						}
					 %>
					</ul>
				
			</div>